// app.js
App({
  onLaunch() {
    // 小程序初始化
  },
  globalData: {
    books: [
      {
        id: 1,
        title: "《Java编程思想》",
        author: "Bruce Eckel",
        isbn: "9787111213826",
        category: "科学技术",
        status: "available",
        statusText: "未申领",
        publishDate: "2023-05-12",
        publisher: "李同学",
        description: "Java编程经典教材，涵盖Java核心概念和编程范式，适合各层次开发者学习参考。"
      },
      {
        id: 2,
        title: "《三体》",
        author: "刘慈欣",
        isbn: "9787536692930",
        category: "文学小说",
        status: "pending",
        statusText: "申领中",
        publishDate: "2023-04-20",
        publisher: "王同学",
        description: "中国科幻文学里程碑之作，讲述地球文明与三体文明的宇宙博弈故事。"
      },
      {
        id: 3,
        title: "《活着》",
        author: "余华",
        isbn: "9787506365437",
        category: "文学小说",
        status: "claimed",
        statusText: "已申领",
        publishDate: "2023-03-15",
        publisher: "张同学",
        description: "余华代表作，讲述普通农民福贵在历史变迁中的苦难人生与生命坚韧。"
      },
      {
        id: 4,
        title: "《时间简史》",
        author: "霍金",
        isbn: "9787535732309",
        category: "科学技术",
        status: "available",
        statusText: "未申领",
        publishDate: "2023-06-05",
        publisher: "赵同学",
        description: "霍金科普经典，用通俗语言解释宇宙学理论，探索时空本质与宇宙奥秘。"
      },
      {
        id: 5,
        title: "《人类简史》",
        author: "尤瓦尔·赫拉利",
        isbn: "9787508692588",
        category: "历史哲学",
        status: "pending",
        statusText: "申领中",
        publishDate: "2023-05-28",
        publisher: "陈同学",
        description: "从认知革命到科技革命，重新解读人类发展历程与未来命运的思考。"
      },
      {
        id: 6,
        title: "《经济学原理》",
        author: "夏昆",
        isbn: "9787301260345",
        category: "经济学",
        status: "available",
        statusText: "未申领",
        publishDate: "2023-04-10",
        publisher: "刘同学",
        description: "经济学基础教材，系统介绍微观与宏观经济理论，培养经济学思维方式。"
      }
    ]
  }
})